<div class="layuimini-main" xmlns:th="http://www.w3.org/1999/xhtml">
<style>
    .layuimini-form .layui-form-item label{ line-height: 40px; text-align: right; padding-right: 10px;}
</style>
    <div class="layui-form layuimini-form">
        <input type="hidden" id="id" name="id" th:value="${id}">
        <div class="layui-form-item layui-row">
            <label class="layui-col-sm2 required">空间标题</label>
            <div class="layui-col-sm10">
                <input type="text" name="title" id="title" lay-verify="required" lay-reqtext="空间标题不能为空" placeholder="请输入空间标题" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item layui-form-text layui-row">
            <label class="layui-col-sm2 required">蜜语</label>
            <div class="layui-col-sm10">
                <textarea name="honeyTalk" id="honeyTalk" placeholder="蜜语" class="layui-textarea" lay-verify="required" lay-reqtext="蜜语不能为空"></textarea>
            </div>
        </div>
        <div class="layui-form-item layui-row">
            <label class="layui-col-sm2">是否开放</label>
            <div class="layui-col-sm10">
                <input type="checkbox" id="isOpenSwitch" lay-filter="isOpenSwitch" lay-skin="switch" lay-text="是|否">
                <input type="hidden" name="isOpen" id="isOpen" value="0">
                <span style="color: red; font-size: 12px;">（开放后其他用户可登录，不能操作）</span>
            </div>
        </div>
        <div class="layui-form-item layui-row">
            <label class="layui-col-sm2 required">关联音乐</label>
            <div class="layui-col-sm10">
                <input type="text" id="musicName" lay-verify="required" lay-reqtext="请选择音乐" placeholder="请选择音乐" class="layui-input" disabled style="width: 300px;display: inline-block;">
                <input type="hidden" id="musicId" name="musicId" class="layui-input">
                <button type="button" class="layui-btn layui-btn" id="musicBtn"><i class="fa fa-plus"></i> 选择音乐</button>
            </div>
        </div>
        <div class="layui-form-item" style="text-align: right;">
            <div>
                <button class="layui-btn layui-btn-normal" lay-submit lay-filter="saveBtn">保存</button>
                <button class="layui-btn layui-btn-primary" id="closeBtn">取消</button>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript" src="/web/boInfoSet/boInfoSet_add.js"></script>